package com.dalin.platform.autocode.action;

import com.dalin.framework.action.StrutsTwoAction;
import com.dalin.platform.autocode.service.AutocodeService;
import com.dalin.platform.autocode.vo.GlbDicTypeRepositoryVo;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-07-12                                                     *
 * @modDate: 2010-07-12                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class GlbDicTypeReposFindAction extends StrutsTwoAction{
	private AutocodeService autocodeService; // 
    private Long id; // 

    public String execute() throws Exception {
        super.printInfo("", "===== this action begin");
        GlbDicTypeRepositoryVo vo = autocodeService
        		.findGlbDicTypeRepositoryById(id);
        setResContent(vo);
        super.printInfo("", "===== this action end");
        return null;
    }

    
    
    public AutocodeService getAutocodeService() {
		return autocodeService;
	}
	public void setAutocodeService(AutocodeService autocodeService) {
		this.autocodeService = autocodeService;
	}

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
